module.exports = {
    apps: [
        {
            name: "fangyi-service",
            namespace: 'fangyi',
            script: "./src/main.js",
            watch: ['./src/'],
            watch_delay: 5000,
            ignore_watch: ["node_modules"],
            instances: 1,
            exec_mode: "fork",
            output: './logs/op-service-out.log',      //指定日志标准输出文件及位置
            error: './logs/op-service-error.log',     //错误输出日志文件及位置
            merge_logs: true,
        },
    ]
}